home *** CD-ROM | disk | FTP | other *** search
/ Chip 2000 June / Chip Haziran 2000.iso / prog / basic / 09 / 09.exe / wmploc.DLL / 256 / 4003 < prev    next >
Encoding:
Text File  |  2000-03-15  |  14.3 KB  |  174 lines

  1.  ■<!--    Windows Media Player Emmbedded OCX Video Mini Mode    -->
  2. <!--
  3. -->
  4. <theme>
  5. <view        
  6.         width="160" height="185"
  7.         scriptFile="res://wmploc.dll/RT_TEXT/#142;res://wmploc.dll/RT_TEXT/#132"
  8.         onload="InitMiniControls();"
  9.         timerInterval="200"
  10.         ontimer="OnTimerTickEvent();"
  11.         backgroundColor="none"
  12. >
  13.     <player         
  14.         OpenState_onchange="OnOpenStateChangeEvent();"
  15.         PlayState_onchange="OnPlayStateChangeEvent();"
  16.         URL_onchange="OnURLChange();"
  17.     >
  18.     </player>
  19.     <subview id="svVideo"
  20.         top="0" left="0"
  21.         width="jscript:view.width" height="jscript:view.height-64"
  22.         zindex="2"
  23.         horizontalAlignment="stretch" 
  24.         verticalAlignment="stretch" 
  25.     >
  26.         <video
  27.             id="video1"
  28.             width="jscript:svVideo.width;" 
  29.             height="jscript:svVideo.height;"
  30.             horizontalAlignment="stretch" 
  31.             verticalAlignment="stretch" 
  32.             backgroundColor="black"
  33.         >
  34.         </video>
  35.     </subview>
  36.     <subview    id="svCtls"
  37.                 zindex="0" 
  38.                 left="0" top="jscript:svVideo.height;" 
  39.                 width="160" height="64" 
  40.                 backgroundColor="black"
  41.                 horizontalAlignment="stretch"
  42.                 verticalAlignment="bottom"
  43.     >
  44.             <button    id="imLeftBorder" zindex="1"
  45.                         left="0" top="0"
  46.                         width="15" height="64"
  47.                         image="res://wmploc.dll/RT_BITMAP/#370"
  48.                         enabled="false"
  49.             />
  50.             <button    id="imTiledBkg"   zindex="1"
  51.                         left="jscript:imLeftBorder.left+imLeftBorder.width;" top="0" 
  52.                         width="jscript:svCtls.width-30;" height="jscript:svCtls.height;"
  53.                         image="res://wmploc.dll/RT_BITMAP/#371"
  54.                         enabled="false"
  55.                         tiled="true"
  56.                         horizontalAlignment="stretch"
  57.             />
  58.             <button     id="imRightBorder"   zindex="1"
  59.                         left="jscript:imTiledBkg.left + imTiledBkg.width;" top="0"
  60.                         width="15" height="64"
  61.                         image="res://wmploc.dll/RT_BITMAP/#372"
  62.                         enabled="false"
  63.                         horizontalAlignment="right"
  64.             />
  65.             <text       id="psInfo" zindex="2"
  66.                         left="15" top="3" 
  67.                         width="50" height="18" 
  68.                         fontsize="8" fontface="ms sans serif" 
  69.                         foregroundColor="green" backgroundColor="black"
  70.                         horizontalAlignment="left"
  71.                         value=""
  72.                         />
  73.             <text       id="metadata" zindex="2"
  74.                         left="jscript:psInfo.left + psInfo.width;" top="jscript:psInfo.top;" 
  75.                         width="60" height="jscript:psInfo.height" 
  76.                         fontsize="8" fontface="ms sans serif"
  77.                         foregroundColor="green" backgroundColor="black" 
  78.                         value=""
  79.                         horizontalAlignment="stretch"
  80.                         />
  81.             <text       id="tracktime" zindex="2"
  82.                         left="jscript:metadata.left + metadata.width;" top="jscript:metadata.top;" 
  83.                         width="33" height="jscript:metadata.height" 
  84.                         fontsize="8" fontface="ms sans serif"
  85.                         foregroundColor="green" backgroundColor="black" 
  86.                         justification="right"
  87.                         value="00:00"
  88.                         horizontalAlignment="right"
  89.                         />
  90. <!--
  91.                         image="res://wmploc.dll/RT_BITMAP/#373"
  92.                         hoverImage="res://wmploc.dll/RT_BITMAP/#374" 
  93.                         downImage="res://wmploc.dll/RT_BITMAP/#375"
  94.                         disabledImage="res://wmploc.dll/RT_BITMAP/#376"
  95. -->
  96.             <button        id="QualityIcon" visible="false" enabled="false" />
  97.             <button        id="ffwd" visible="false" enabled="false" />
  98.             
  99.             <button     id="play"   
  100.                         zindex="2"
  101.                         left="2" top="25"
  102.                         width="38" height="38"
  103.                         upToolTip="Play"
  104.                         downToolTip="Pause"
  105.                         onclick="jscript:playOnClick();"
  106.                         transparencyColor="#FF00FF"
  107.             />
  108.             <button     id="stop"   
  109.                         zindex="2"
  110.                         left="jscript:play.left + play.width + 1" top="jscript:play.top + 11"
  111.                         width="20" height="27"
  112.                         image="res://wmploc.dll/RT_BITMAP/#377"
  113.                         hoverImage="res://wmploc.dll/RT_BITMAP/#378" 
  114.                         downImage="res://wmploc.dll/RT_BITMAP/#379"
  115.                         disabledImage="res://wmploc.dll/RT_BITMAP/#380"
  116.                         upToolTip="Stop"
  117.                         enabled="wmpenabled:controls.Stop"
  118.                         onclick="jscript:player.controls.Stop();StopPlaying();"
  119.                         sticky="true"
  120.                         transparencyColor="#FF00FF"
  121.             />
  122.             <button     id="mute"   
  123.                         zindex="2"
  124.                         left="jscript:stop.left + stop.width + 15" top="jscript:stop.top + 2"
  125.                         width="18" height="18"
  126.                         upToolTip="Mute"
  127.                         downToolTip="Sound"
  128.                         image="res://wmploc.dll/RT_BITMAP/#365"
  129.                         hoverImage="res://wmploc.dll/RT_BITMAP/#369"
  130.                         downImage="res://wmploc.dll/RT_BITMAP/#368"
  131.                         hoverDownImage="res://wmploc.dll/RT_BITMAP/#366"
  132.                         sticky="true"
  133.                         horizontalAlignment="right"
  134.                         down="wmpprop:player.settings.mute"
  135.                         onclick="player.settings.mute=down;"
  136.             />
  137.             <slider     id="seek"
  138.                         enabled="false"
  139.                         visible="false"
  140.             />
  141.             <slider     id="volume"   zindex="2" 
  142.                         left="jscript:mute.left + mute.width" top="jscript:mute.top-1" 
  143.                         height="20" width="55"
  144.                         backgroundImage="res://wmploc.dll/RT_BITMAP/#421"
  145.                         forgroundImage="res://wmploc.dll/RT_BITMAP/#428"
  146.                         thumbImage="res://wmploc.dll/RT_BITMAP/#422"
  147.                         thumbHoverImage="res://wmploc.dll/RT_BITMAP/#430"
  148.                         thumbDownImage="res://wmploc.dll/RT_BITMAP/#429"
  149.                         min="0"
  150.                         value="wmpprop:player.settings.volume" 
  151.                         value_onchange="jscript:player.settings.volume=value;player.settings.mute='false';"
  152.                         toolTip="Volume"
  153.                         borderSize="5"
  154.                         transparencyColor="#FF00FF"
  155.                         tiled="false"
  156.                         horizontalAlignment="right"
  157.             />
  158.     </subview>
  159.    
  160. </view>
  161. </theme>